import request from "@/utils/request";

export function acceptRefund(data) {
    return request({
        //设置请求数据格式为json
        url: '/api/admin/message/acceptRefund',
        method: 'post',
        data
    })
}


export function refuseRefund(data) {
    return request({
        //设置请求数据格式为json
        url: '/api/admin/message/refuseRefund',
        method: 'post',
        data
    })
}


export function listRefund() {
    return request({
        //设置请求数据格式为json
        url: '/api/admin/message/listRefund',
        method: 'post',
    })
}
